﻿$(function () {

    $(".FigurinhaView").dialog({
        autoOpen: false,
        modal: true,
        width: 500,
        height: 300,
        buttons: {
            "Ok": function () {
                $(this).dialog("close");
            }
        }
    });

    $(".FigurinhaDetalhe").click(
        function (e) {
            $("#" + $(e.target).attr("idDetalhe")).dialog("open");
            event.preventDefault();
        });

});